package com.luck.emp.ass.logic;

import java.util.List;

import com.luck.emp.ass.AssVo;
import com.luck.emp.ass.qry.AssQry;
import com.luck.emp.entity.EmpTWhAssD;
import com.luck.emp.entity.EmpTWhAssM;
import com.luck.pf.common.entity.UserBean;
import com.luck.pf.framework.logic.IBaseLogic;
import com.luck.pf.util.Page;

/**
 * 说明
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public interface IAssLogic extends IBaseLogic{
	/**
	 * 保存组装单
	 **/
	public String saveAss(UserBean userBean, EmpTWhAssM entity) throws Exception;
	/**
	 * 获取散件库存及可组装数
	 */
	public List<AssVo> findAssVos(String productCode, String whCode);
	public List<EmpTWhAssD> findAssd(String assCode);
	/**
	 * 查找仓库最大的组装可拆卸的数量
	 * @return
	 */
	public Long findAssAmount(String productCode, String whCode);
	/**
	 * 查找分页信息
	 */
	public Page findAssPage(AssQry qry);
}